﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FlexFlow.MVC.Controllers
{
    [Auth(MVC.AuthType.Page)]
    public class ProcessDefineController : Controller
    {
        //
        // GET: /ProcessDefine/

        public ActionResult List()
        {
            return View();
        }
        public ActionResult Edit()
        {
            return View();
        }
        public ActionResult EditNode(string nodeType)
        {
            RazorView view = new RazorView(this.ControllerContext, "~/Views/ProcessDefine/Node/" + nodeType + ".cshtml", "", false, null);
            return View(view);
        }
    }
}
